package com.irm.repository;

import com.irm.dto.MockInfoQueryDTO;
import com.irm.pojo.IrmMockInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2022-01-20
 */
@Mapper
@Repository
public interface IrmMockInfoRepository {

    public List<IrmMockInfo> selectDraftMockInfo(@Param(value = "queryDto") MockInfoQueryDTO queryDTO);

    public int updateMockType(@Param(value = "info") IrmMockInfo irmMockInfo);

    public void insertMockInfo(@Param(value = "info") IrmMockInfo irmMockInfo);

}
